package com.jiawa.train.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.common.resp.CommonResp;
import com.jiawa.train.member.domain.po.Member;
import com.jiawa.train.member.req.MemberLoginReq;
import com.jiawa.train.member.resp.MemberLoginResp;

/**
 * <p>
 * 会员 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-06
 */
public interface IMemberService extends IService<Member> {

    CommonResp<Long> register(String mobile);

    void sendCode(String mobile);
    MemberLoginResp login(MemberLoginReq req);
}
